package com.gywj.race.mapper;

import com.gywj.race.dto.AllParticipantDataByEventIdDto;
import com.gywj.race.dto.AllParticipantDataDto;
import com.gywj.race.dto.GetParticipantDataByPersonalMobileAndEventIdDto;
import com.gywj.race.dto.GetPatchNumberBookDataDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExpandMapper {
    List<Map<String, Object>> getPage2Info(@Param("raceId") Integer raceId);
    Map<String, Object> getAllInfoByOpenIdAndEventId(AllParticipantDataDto allParticipantDataDto);


    List<Map<String, Object>> getAllParticipantDataByEventIdAndStatus(AllParticipantDataByEventIdDto allParticipantDataByEventIdDto);

    Map<String,Object> getAllInfoByByPersonalMobileAndEventId(GetParticipantDataByPersonalMobileAndEventIdDto getParticipantDataByDocumentNumAndEventIdDto);

    List<Map<String,Object>> getPatchNumberBookData(GetPatchNumberBookDataDto getPatchNumberBookDataDto);
}
